package com.hrprojectback.dto;

import org.springframework.stereotype.Component;

@Component
public class DeptType {

    private String typeCode;//部门类型code

    private String typeName;//部门类型名称

    public DeptType() {
    }

    public DeptType(String typeCode, String typeName) {
        this.typeCode = typeCode;
        this.typeName = typeName;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    @Override
    public String toString() {
        return "DeptType{" +
                "typeCode='" + typeCode + '\'' +
                ", typeName='" + typeName + '\'' +
                '}';
    }
}
